﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:pc="http://schemas.microsoft.com/prototyping/2010/controls"
	xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:ei="http://schemas.microsoft.com/expression/2010/interactions"
	xmlns:local="clr-namespace:CYPlayerScreens"
	mc:Ignorable="d"
	x:Class="CYPlayerScreens.SongsLbComponent"
	x:Name="UserControl"
	d:DesignWidth="144" d:DesignHeight="165.467" Height="165.467" Width="144">
	<UserControl.Resources>
		<ResourceDictionary>
			<ResourceDictionary.MergedDictionaries>
				<ResourceDictionary Source="ProjectDataSources.xaml"/>
			</ResourceDictionary.MergedDictionaries>
			<DataTemplate x:Key="ItemTemplate">
				<StackPanel VerticalAlignment="Bottom" Width="99.19" Opacity="1" OpacityMask="{x:Null}" Height="57.623" Background="{x:Null}">
					<Image Source="{Binding Image}" HorizontalAlignment="Center" Height="38.933" Width="37.867" VerticalAlignment="Center"/>
					<TextBlock Text="{Binding Name}" Style="{DynamicResource BasicTextBlock-Sketch}" HorizontalAlignment="Center" VerticalAlignment="Center"/>
				</StackPanel>
			</DataTemplate>
		</ResourceDictionary>
	</UserControl.Resources>
	<UserControl.DataContext>
		<Binding Source="{StaticResource CurrentPL}"/>
	</UserControl.DataContext>

	<Grid x:Name="LayoutRoot" DataContext="{Binding Source={StaticResource CurrentPL}}">
		<i:Interaction.Behaviors>
			<ei:MouseDragElementBehavior/>
		</i:Interaction.Behaviors>
		<local:PlayListControl d:IsPrototypingComposition="True"/>
	</Grid>
</UserControl>